Component({
    properties: {
        datas: {
            type: null
        },
        cityData: {
            type: null
        },
        pointData: {
            type: null
        }
    },
    data: {},
    lifetimes: {
        attached: function() {
            console.log(this.properties.datas, "asdaa");
        },
        moved: function() {},
        detached: function() {}
    },
    attached: function() {},
    ready: function() {},
    pageLifetimes: {
        show: function() {},
        hide: function() {},
        resize: function() {}
    },
    methods: {
        goo2oCategory: function(t) {
            var a = t.currentTarget.dataset.id;
            wx.navigateTo({
                url: "/packageC/o2o/o2oCategory/o2oCategory?id=" + a + "&city=" + this.data.cityData + "&point=" + JSON.stringify(this.data.pointData) + "&name=" + t.currentTarget.dataset.name
            });
        }
    }
});